package com.atguigu.gmall.product.service;


import com.atguigu.gmall.model.product.BaseAttrInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author Zenglingxiao
* @description 针对表【base_attr_info(属性表)】的数据库操作Service
* @createDate 2022-03-04 18:11:06
*/
public interface BaseAttrInfoService extends IService<BaseAttrInfo> {

    /**
     * 根据id 获取属性
     * @param category1Id
     * @param category2Id
     * @param category3Id
     * @return
     */
    List<BaseAttrInfo> getAttrInfoAndValueList(Long category1Id, Long category2Id, Long category3Id);

    /**
     * 添加平台属性 与修改
     * @param info
     */
    void addsaveAttrInfo(BaseAttrInfo info);
}
